package com.bestcem.xm.ticket.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * TicketNotifyChannel 状态枚举
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/10 20:37
 */
@Getter
@ToString
public enum TicketNotifyChannelEnum {
    /**
     * 邮件
     */
    EMAIL("EMAIL", 0),
    /**
     * 短信
     */
    SMS("SMS", 1),
    /**
     * 飞书
     */
    FEI_SHU("FEI_SHU", 2),
    /**
     * 事件
     */
    EVENT("EVENT", 3),
    /**
     * 钉钉
     */
    DING_TALK("DING_TALK", 4),
    /**
     * 企业微信
     */
    WECHAT_WORK("WECHAT_WORK ", 5);

    private final String name;

    private final Integer index;

    TicketNotifyChannelEnum(String name, Integer index) {
        this.name = name;
        this.index = index;
    }
}
